<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div {
           border-left:5px solid blue;
            height: 1px;
            height: 500px;


        }
    </style>
</head>
<body>
<div></div>
<ul style="background-color: red;height: 2px;"></ul>
</body>
</html>